home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / u_man / cat1 / X11 / xclock.z / xclock
Encoding:
Text File  |  2002-10-03  |  9.4 KB  |  199 lines

  1.  
  2.  
  3.  
  4.      XXXXCCCCLLLLOOOOCCCCKKKK((((1111))))          XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))           XXXXCCCCLLLLOOOOCCCCKKKK((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           xclock - analog / digital clock for X
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           xxxxcccclllloooocccckkkk [ ----hhhheeeellllpppp ] [ ----aaaannnnaaaalllloooogggg ] [ ----ddddiiiiggggiiiittttaaaallll ] [ ----cccchhhhiiiimmmmeeee ] [ ----hhhhdddd
  13.           _c_o_l_o_r ] [ ----hhhhllll _c_o_l_o_r ] [ ----uuuuppppddddaaaatttteeee _s_e_c_o_n_d_s ] [ ----ppppaaaaddddddddiiiinnnngggg _n_u_m_b_e_r
  14.           ]
  15.  
  16.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.           The _x_c_l_o_c_k program displays the time in analog or digital
  18.           form.  The time is continuously updated at a frequency which
  19.           may be specified by the user.
  20.  
  21.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  22.           _X_c_l_o_c_k accepts all of the standard X Toolkit command line
  23.           options along with the additional options listed below:
  24.  
  25.           ----hhhheeeellllpppp   This option indicates that a brief summary of the
  26.                   allowed options should be printed on the standard
  27.                   error.
  28.  
  29.           ----aaaannnnaaaalllloooogggg This option indicates that a conventional 12 hour
  30.                   clock face with tick marks and hands should be used.
  31.                   This is the default.
  32.  
  33.           ----ddddiiiiggggiiiittttaaaallll or ----dddd
  34.                   This option indicates that a 24 hour digital clock
  35.                   should be used.
  36.  
  37.           ----cccchhhhiiiimmmmeeee  This option indicates that the clock should chime
  38.                   once on the half hour and twice on the hour.
  39.  
  40.           ----hhhhaaaannnnddddssss _c_o_l_o_r (or ----hhhhdddd _c_o_l_o_r)
  41.                   This option specifies the color of the hands on an
  42.                   analog clock.  The default is _b_l_a_c_k.
  43.  
  44.           ----hhhhiiiigggghhhhlllliiiigggghhhhtttt _c_o_l_o_r (or ----hhhhllll _c_o_l_o_r)
  45.                   This option specifies the color of the edges of the
  46.                   hands on an analog clock, and is only useful on
  47.                   color displays.  The default is _b_l_a_c_k.
  48.  
  49.           ----uuuuppppddddaaaatttteeee _s_e_c_o_n_d_s
  50.                   This option specifies the frequency in seconds at
  51.                   which _x_c_l_o_c_k should update its display.  If the
  52.                   clock is obscured and then exposed, it will be
  53.                   updated immediately.  A value of 30 seconds or less
  54.                   will enable a second hand on an analog clock.  The
  55.                   default is 60 seconds.
  56.  
  57.           ----ppppaaaaddddddddiiiinnnngggg _n_u_m_b_e_r
  58.                   This option specifies the width in pixels of the
  59.                   padding between the window border and clock text or
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXCCCCLLLLOOOOCCCCKKKK((((1111))))          XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))           XXXXCCCCLLLLOOOOCCCCKKKK((((1111))))
  71.  
  72.  
  73.  
  74.                   picture.  The default is 10 on a digital clock and 8
  75.                   on an analog clock.
  76.  
  77.      XXXX DDDDEEEEFFFFAAAAUUUULLLLTTTTSSSS
  78.           This program uses the _C_l_o_c_k widget.  It understands all of
  79.           the core resource names and classes as well as:
  80.  
  81.           wwwwiiiiddddtttthhhh ((((class WWWWiiiiddddtttthhhh))))
  82.                   Specifies the width of the clock.  The default for
  83.                   analog clocks is 164 pixels; the default for digital
  84.                   clocks is whatever is needed to hold the clock when
  85.                   displayed in the chosen font.
  86.  
  87.           hhhheeeeiiiigggghhhhtttt ((((class HHHHeeeeiiiigggghhhhtttt))))
  88.                   Specifies the height of the clock.  The default for
  89.                   analog clocks is 164 pixels; the default for digital
  90.                   clocks is whatever is needed to hold the clock when
  91.                   displayed in the chosen font.
  92.  
  93.           uuuuppppddddaaaatttteeee ((((class IIIInnnntttteeeerrrrvvvvaaaallll))))
  94.                   Specifies the frequency in seconds at which the time
  95.                   should be redisplayed.
  96.  
  97.           ffffoooorrrreeeeggggrrrroooouuuunnnndddd ((((class FFFFoooorrrreeeeggggrrrroooouuuunnnndddd))))
  98.                   Specifies the color for the tic marks. The default
  99.                   is depends on whether _r_e_v_e_r_s_e_V_i_d_e_o is specified.  If
  100.                   _r_e_v_e_r_s_e_V_i_d_e_o is specified the default is _l_w_h_i_t_e,
  101.                   otherwise the default is _b_l_a_c_k.
  102.  
  103.  
  104.           hhhhaaaannnnddddssss ((((class FFFFoooorrrreeeeggggrrrroooouuuunnnndddd))))
  105.                   Specifies the color of the insides of the clock's
  106.                   hands. The default is depends on whether
  107.                   _r_e_v_e_r_s_e_V_i_d_e_o is specified.  If _r_e_v_e_r_s_e_V_i_d_e_o is
  108.                   specified the default is _l_w_h_i_t_e, otherwise the
  109.                   default is _b_l_a_c_k.
  110.  
  111.           hhhhiiiigggghhhhlllliiiigggghhhhtttt ((((class FFFFoooorrrreeeeggggrrrroooouuuunnnndddd))))
  112.                   Specifies the color used to highlight the clock's
  113.                   hands. The default is
  114.                    depends on whether _r_e_v_e_r_s_e_V_i_d_e_o is specified.  If
  115.                   _r_e_v_e_r_s_e_V_i_d_e_o is specified the default is _l_w_h_i_t_e,
  116.                   otherwise the default is _b_l_a_c_k.
  117.  
  118.           aaaannnnaaaalllloooogggg ((((class BBBBoooooooolllleeeeaaaannnn))))
  119.                   Specifies whether or not an analog clock should be
  120.                   used instead of a digital one.  The default is True.
  121.  
  122.           cccchhhhiiiimmmmeeee ((((class BBBBoooooooolllleeeeaaaannnn))))
  123.                   Specifies whether or not a bell should be rung on
  124.                   the hour and half hour.
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      XXXXCCCCLLLLOOOOCCCCKKKK((((1111))))          XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))           XXXXCCCCLLLLOOOOCCCCKKKK((((1111))))
  137.  
  138.  
  139.  
  140.           ppppaaaaddddddddiiiinnnngggg ((((class MMMMaaaarrrrggggiiiinnnn))))
  141.                   Specifies the amount of internal padding in pixels
  142.                   to be used.  The default is 8.
  143.  
  144.           ffffoooonnnntttt ((((class FFFFoooonnnntttt))))
  145.                   Specifies the font to be used for the digital clock.
  146.                   Note that variable width fonts currently will not
  147.                   always display correctly.
  148.  
  149.      WWWWIIIIDDDDGGGGEEEETTTTSSSS
  150.           In order to specify resources, it is useful to know the
  151.           hierarchy of the widgets which compose _x_c_l_o_c_k.  In the
  152.           notation below, indentation indicates hierarchical
  153.           structure.  The widget class name is given first, followed
  154.           by the widget instance name.
  155.  
  156.           XClock  xclock
  157.                Clock  clock
  158.  
  159.  
  160.      EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
  161.           DDDDIIIISSSSPPPPLLLLAAAAYYYY to get the default host and display number.
  162.  
  163.           XXXXEEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
  164.                   to get the name of a resource file that overrides
  165.                   the global resources stored in the RESOURCE_MANAGER
  166.                   property.
  167.  
  168.      FFFFIIIILLLLEEEESSSS
  169.           <XRoot>/lib/X11/app-defaults/XClock - specifies required
  170.           resources
  171.  
  172.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  173.           X(1), xrdb(1), time(3C)
  174.  
  175.      BBBBUUUUGGGGSSSS
  176.           _X_c_l_o_c_k believes the system clock.
  177.  
  178.           When in digital mode, the string should be centered
  179.           automatically.
  180.  
  181.      AAAAUUUUTTTTHHHHOOOORRRRSSSS
  182.           Tony Della Fera (MIT-Athena, DEC)
  183.           Dave Mankins (MIT-Athena, BBN)
  184.           Ed Moy (UC Berkeley)
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.      Page 3                                          (printed 10/3/02)
  196.  
  197.  
  198.  
  199.